home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 4 / Mac Giga-ROM 4.0 - 1993.toast / FILES / DAS / A-C / Ascii / ASCII.H < prev    next >
Encoding:
C/C++ Source or Header  |  1985-11-02  |  1013 b   |  55 lines  |  [TEXT/????]

  1. /* This is because of bug in compiler */
  2. #ifdef lint
  3. #       define VOID (void)
  4. #else
  5. #       define VOID
  6. #endif
  7.  
  8. /* This is for compatibility with other C compilers */
  9. #define long int
  10.  
  11. #define WINDOW 128
  12.  
  13. #define SAMPLESTR 1
  14. #define AUTHORSTR 2
  15.  
  16. #define MENUS 5
  17. #define APPLE 1
  18. #define ABOUT 1
  19. #define FILE 256
  20. #define OPEN1 1
  21. #define OPEN2 2
  22. #define OPEN3 3
  23. #define QUIT 5
  24. #define EDIT 257
  25. #define TEUNDO 1
  26. #define TECUT 3
  27. #define TECOPY 4
  28. #define TEPASTE 5
  29. #define TECLEAR 6
  30. #define FONTS 258
  31. #define FONTSIZE 259
  32.  
  33. #define BAR 1
  34. #define WATCH 4
  35. #define FINGER 256
  36.  
  37. #define NONE -1
  38. MenuHandle my_menus[MENUS];
  39. long the_menu, the_item;
  40. EventRecord my_event;
  41. CursHandle finger_c, watch_c, bar_c;
  42. WindowPtr which_w, the_w;
  43. WindowRecord w_record;
  44. Rect ascii_r, text_r, view_r, char_r[16][16];
  45. Point mouse_p;
  46. Handle sample_str, author_str;
  47. TEHandle h_text, h_authortext;
  48. int which_font;
  49. char font_name[64];
  50. int font_sizes[64];
  51. int num_of_sizes = 0;
  52. short scrap_count;
  53. int file_num, volume_num;
  54. SFReply file_record;
  55.